package cn.cjx.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.cjx.basic.domain.BaseDomain;
import lombok.Data;

import java.util.Date;


@Data
public class Shop extends BaseDomain{

    private static final long serialVersionUID = 1L;


    @Excel(name = "店铺名字" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String name;
    @Excel(name = "电话" ,orderNum = "2", width = 30, isImportField = "true_st")
    private String tel;
    @Excel(name = "注册时间" ,orderNum = "3", width = 30, isImportField = "true_st", exportFormat="yyyy-MM-dd")
    private Date registerTime = new Date();
    /**
     * 店铺状态：0待审核，1待激活，-1拒绝，2驳回 3 启用
     */
    @Excel(name = "状态" ,orderNum = "4", width = 30, isImportField = "true_st")
    private Integer state = 0;
    @Excel(name = "地址" ,orderNum = "5", width = 30, isImportField = "true_st")
    private String address;
    @Excel(name = "店招" ,orderNum = "6", width = 30, isImportField = "true_st")
    private String logo;
    private Long admin_id;

    //用来接收前端传递的店长信息
    private cn.cjx.org.domain.Employee admin;
}
